package com.jade.store.wechat.service;

import com.jade.bss.base.customer.Customer;
import com.jade.bss.db.BaseFacade;
import com.jade.store.wechat.entity.WechatQrcode;

/**
 * Created with IntelliJ IDEA.
 * User: JinYa 2009_jinya@163.com
 * Date: 2016-5-5
 * Time: 10:28
 * Version : 1.0
 * Remark:
 * History:
 */
public interface WechatQrcodeFacade extends BaseFacade {
    WechatQrcode getTempWxQrcode(Customer customer, String appid, String secid, int type) throws  Exception;
    WechatQrcode getPerWxQrcode(Customer customer, String appid, String secid, int type) throws  Exception;

    /**
     * 更加 事件获得 二维码参数
     * @param eventKey
     * @return
     * @throws Exception
     */
    WechatQrcode getQrcodeByEventKey(String eventKey) throws  Exception;
}
